package main;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class PropPlanes {
	private static Properties prop;

	/**
	 * Read constants and parameters from default.properties file and overwite
	 * them with current.properties if needed
	 * 
	 * @throws IOException
	 */
	public static void load() throws IOException {
		// create and load default properties
		Properties defaultProps = new Properties();
		try (FileInputStream in = new FileInputStream("PlanesInfos.properties")) {
			defaultProps.load(in);
			in.close();

			// create application properties with default
			prop = new Properties(defaultProps);
		
		}
	
	
	}

}
